package com.winkyle.woodenfish.retrofit;

import com.winkyle.woodenfish.entity.HttpResult;
import com.winkyle.woodenfish.entity.MessageInfo;

import java.util.List;

import retrofit.http.GET;
import retrofit.http.Query;
import rx.Observable;

/**
 * @author winkyle
 * @date 2018/06/21
 * @description MessageInfo的网络数据访问接口类
 */

public interface MessageInfoRetrofit {

    @GET(Apis.MESSAGE_INFO_BY_USER_ID)
    Observable<HttpResult<List<MessageInfo>>> findMessageInfoByUserId(@Query("page")Integer page);
}